/*** 
 * @Date: 2020-07-10 15:58:51
 * @LastEditors: leehave
 * @LastEditTime: 2020-08-27 16:51:21
 */
export const isExternal = path => {
  return /^(https?:|mailto:|tel:)/.test(path)
}
export const isPhoneNum = number => {
  return /^1[3-9]\d{9}$/.test(number)
}